package com.chii.order.po;

import java.util.Date;

public class Payment {
    private Integer id;

    private String payment;

    private String paymentDescription;

    private Date createdAt;

    private Date updatedAt;

    public Payment(Integer id, String payment, String paymentDescription, Date createdAt, Date updatedAt) {
        this.id = id;
        this.payment = payment;
        this.paymentDescription = paymentDescription;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }

    public Payment() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment == null ? null : payment.trim();
    }

    public String getPaymentDescription() {
        return paymentDescription;
    }

    public void setPaymentDescription(String paymentDescription) {
        this.paymentDescription = paymentDescription == null ? null : paymentDescription.trim();
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}